﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TheDrinksApp.ViewModel;

namespace TheDrinksApp.Models
{
    public class CatergoryDAO : ObservableObject
    {
        private int catergoryID;

        public int CatergoryID
        {
            get { return catergoryID; }
            set 
            { 
                catergoryID = value;
                NotifyPropertyChanged("CatergoryID");
            }
        }
        private string catergory;

        public string Catergory
        {
            get { return catergory; }
            set 
            { 
                catergory = value;
                NotifyPropertyChanged("Catergory");
            }
        }
        private string imagePath;

        public string ImagePath
        {
            get { return imagePath; }
            set 
            {
                imagePath = value;
                NotifyPropertyChanged("ImagePath");
            }
        }
        public CatergoryDAO()
        {
            CatergoryID = -1;
            Catergory = "";
        }
        public CatergoryDAO( int id, string name )
        {
            CatergoryID = id;
            Catergory = name;
        }
    }
}
